﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Generator
{
    public partial class API : Form
    {
        private API()
        {
            InitializeComponent();
        }
        private static API m_instance = null;
        public static API Instance
        {
            get
            {
                if (m_instance == null)
                {
                    m_instance = new API();
                }
                return m_instance;
            }
        }

        protected override void OnClosing(CancelEventArgs e)
        {
            this.Hide();
            e.Cancel = true;
            base.OnClosing(e);
        }

    }
}
